#ifndef TILEBOARDITEMS_H
#define TILEBOARDITEMS_H

#include "gameboarditem.h"
namespace gs
{

class VillageTile : public GameBoardItem
{
    Q_OBJECT
public:
    VillageTile(GameBoardOrganizer*, int, int);
    QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    const static int WIDTH = 80;
    QPoint* getPos() {return new QPoint(_x,_y);}
    void setHaunted( bool b );
    bool haunted() { return _haunted; }
protected:
    int _x, _y;
    QColor* c;
    bool _haunted;
    void mousePressEvent(QGraphicsSceneMouseEvent *event);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
signals:
    void clicked(VillageTile*);
};
class TeashopTile : public VillageTile
{
    Q_OBJECT
public:
    TeashopTile(GameBoardOrganizer*, int, int);
protected:
protected slots:
};


class SorcererTile : public VillageTile
{
    Q_OBJECT
public:
    SorcererTile(GameBoardOrganizer*, int, int);
protected:
protected slots:
};

class AltarTile : public VillageTile
{
    Q_OBJECT
public:
    AltarTile(GameBoardOrganizer*, int, int);
protected:
protected slots:
};

class PavilionTile : public VillageTile
{
    Q_OBJECT
public:
    PavilionTile(GameBoardOrganizer*, int, int);
protected:
protected slots:
};
}

#endif // TILEBOARDITEMS_H
